runtime.persistentAlloc.base (field)
7 uses
runtime (current package)
malloc.go#L2298: base *notInHeap
malloc.go#L2373: if persistent.off+size > persistentChunkSize || persistent.base == nil {
malloc.go#L2374: persistent.base = (*notInHeap)(sysAlloc(persistentChunkSize, &memstats.other_sys, "immortal metadata"))
malloc.go#L2375: if persistent.base == nil {
malloc.go#L2385: *(*uintptr)(unsafe.Pointer(persistent.base)) = chunks
malloc.go#L2386: if atomic.Casuintptr((*uintptr)(unsafe.Pointer(&persistentChunks)), chunks, uintptr(unsafe.Pointer(persistent.base))) {
malloc.go#L2392: p := persistent.base.add(persistent.off)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |